package cn.wolfcode.education.service;

import cn.wolfcode.education.domain.Employee;
import cn.wolfcode.education.query.EmployeeQueryObject;
import cn.wolfcode.education.util.PageResult;
import cn.wolfcode.education.query.QueryObject;

import java.util.List;

public interface IEmployeeService {

    PageResult list(QueryObject qo);

    void delete(Long id);

    void save(Employee employee);

    void edit(Employee employee);

    List queryForList(EmployeeQueryObject qo);

    List<Employee> queryAll();


    List<Employee> selectTeacherByRoleIdWithSchedle(Long id);


    void updatePassword(String newpassword,String username);

    void changePassword(String username, String password);

    Employee retrieveSelectEmployee(String username);


    List<Employee> selectEmployeeByDeptId();


    Employee getByUsername(String username);

    List<Employee> queryEmpName();
}
